package com.zhouyong.dubboFramework.http;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * servlet过滤器
 *
 * @Author 99
 * @Date 2022/7/27 17:15
 * @Version 1.0
 */
public class MyDispatcherServlet extends HttpServlet {

    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        // 对请求进行拦截过滤
        HttpServletHandler.handler(req, resp);
    }
}
